package com.gtw.modules.sys.service;

import com.gtw.modules.entity.TbCapitalpool;

import java.util.List;

/**
 * Created by wuye on 2018/3/18.
 */
public interface TbCapitalpoolService {

    /**
     * 查询所有
     * @return
     */
    List<TbCapitalpool> queryByAll();

    /**
     * 根据ID查询分红池
     * @param id
     * @return
     */
    TbCapitalpool queryById(Integer id);

    /**
     * 添加
     * @param tbCapitalpool
     */
    void save(TbCapitalpool tbCapitalpool);

    /**
     * 修改
     * @param tbCapitalpool
     * @return
     */
    int update(TbCapitalpool tbCapitalpool);
}
